<%if @report %>
<%if @report.state==3 %>
<table width="500" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="medgray"><strong>
		<li type=circle>薪酬指标：</li>
		</strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>
		<table width="500" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="250"><%= render :partial=>"report_salary"%></td>
				<td><%= normal(@report.aver_salary,@report.div_salary,@report.reference_salary)%></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong>
		<li type=circle>样本信息：</li>
		</strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="listt"><%= render :partial=>"report_info"%></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<td align="right" class="medgray">共有<%unless @report.effective_year.to_i==0 -%><%=@report.effective_year %>年的<%end -%><%=link_to "汇报样本", :action=>"listreportincumbent",:id=>@report.id %>
	<%=@report.incumbents_count%>个</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong>
		<li type=circle>教育背景：</li>
		</strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>
		<table width="500" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="250"><%= render :partial=>"report_education"%></td>
				<td width="250"><%= render :partial=>"report_oversea"%></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong>
		<li type=circle>评论列表：</li>
		</strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
		<div id="commentList"><%= render_collection_of_partials "info/comment",@comments%></div>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong>
		<li type=circle>发表评论：</li>
		</strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td height="3"></td>
	</tr>
	<tr>
		<td>
		<div id="mycomment"><%= render :partial=>"info/create_comment",:locals => {:object => @report}%></div>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
<%else %>
<table border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width=30><%=image_tag "/images/progress.gif"%></td>
		<td class="medgray" valign="center"><strong>对不起，该报告正在制作，请稍后察看.....</strong></td>
	</tr>
</table>
<%end %>
<% else %>
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><%=image_tag "/images/nil.gif",:alt=>"注意"%></td>
		<td class="medgray" valign="center"><strong>对不起，该报告不存在。</strong></td>
	</tr>
</table>
<% end %>
